package com.hnucm.cooklife.contract.login;

import com.hnucm.cooklife.base.IBaseView;
import com.hnucm.cooklife.bean.me.LoginData;

import io.reactivex.Observable;

public class Contract {
    public interface ILoginModel{
        Observable<LoginData> login(String username,String password);
    }

    public interface ILoginView extends IBaseView{
        void onLogin(LoginData loginData);
    }

    public interface ILoginPresenter{
        void login(String username,String password);
    }
}
